#pragma once
#include <d3d11.h>

class CD3DDevice
{
public:
	CD3DDevice();
	~CD3DDevice();
	HRESULT InitDevice(const DXGI_SWAP_CHAIN_DESC* SwapChainDesc);


	IDXGISwapChain*			m_pSwapChain;
	D3D_FEATURE_LEVEL       m_featureLevel;
	ID3D11Device*           m_pd3dDevice;
	ID3D11DeviceContext*    m_pImmediateContext;

	bool m_bPresentable;
};